package com.common.viewlibrary.utils;

import android.webkit.WebChromeClient;
import android.webkit.WebView;

/**
 * Created by hanyuejian
 * on 2018/7/20.
 */
public class WebOpenUtils {

    public static void openLocal(WebView webView,String localName){
        webView.setWebChromeClient(new WebChromeClient());
        webView.loadUrl("file:///android_asset/"+localName+".html");
    }


}
